package com.nebula.core.constant;

/**
 * @Author zhangtao
 * @create 2021/8/16 17:26
 */
public class Constant {
    public static final String EDGE_VID_FORMAT = " '%s'->'%s' ";
    public static final String QUOTED_LITERAL_FORMAT = " '%s' ";
    public static final String TIMESTAMP_FORMAT = " timestamp(%s) ";

    /**
     * 元数据字段名称
     */
    public static final String META_FIELD = "Field";
    public static final String META_TYPE = "Type";
    public static final String META_NULL = "Null";
    public static final String META_DEFAULT = "Default";
    public static final String META_COMMENT = "Comment";
    public static final String META_CREATE_EDGE = "Create Edge";
    public static final String META_CREATE_TAG = "Create Tag";
    public static final String STAT_NAME = "Name";
    public static final String STAT_COUNT = "Count";
    public static final String STAT_TYPE = "Type";
    public static final String JOB_ID = "Job Id";
    public static final String JOB_STATUS = "Status";
    public static final String JOB_FINISHED = "FINISHED";
    public static final String JOB_RUNNING = "RUNNING";
    public static final String JOB_QUEUE = "QUEUE";

    public static final String REVERSELY = "REVERSELY";
    public static final String BIDIRECT = "BIDIRECT";
    public static final String EDGE_START = "$^";
    public static final String EDGE_END = "$$";
    public static final String VERTEX = "vertex";
    public static final String EDGE = "edge";

    public static final String SRC_ID = "srcId";
    public static final String DST_ID = "dstId";
    public static final String NULL = "NULL";
    public static final String VID = "vid";
    public static final int MAX_SIZE = 5000;

    public static final String FUNC_PROPERTIES = "properties";

    public static final String PATH_SRC = "srcId";
    public static final String PATH_DST = "dstId";
    public static final String PATH_RANK = "rank";
    public static final String PATH_EDGE = "edge";

}
